﻿#ifndef CPointMgrBase_H
#define CPointMgrBase_H
#include <QObject>
#include <QTimer>
#include "CBeltDataBase.h"
#include "CAlarmPoint.h"
class CPointMgrBase :public QObject
{
public:
	CPointMgrBase(CBeltDataBase *pBeltData);
	~CPointMgrBase();
	void start();
	void stop();
	QList<CMeasurePoint*> getPoint();
protected:
	void createPoints();  //创建测点
private:
	QList<CMeasurePoint*> m_vecPoints;
	QTimer* m_pTimer;           //定时器
	CBeltDataBase *m_pBeltData;
public slots:
	virtual void refreshData();  // 声明为 virtual，便于子类覆盖
};

#endif